.class public Lcom/fiberhome/xloc/c/b;
.super Ljava/lang/Object;


# instance fields
.field private a:Lcom/fiberhome/xloc/c/e;

.field private b:Lcom/fiberhome/xloc/c/a/a;

.field private c:Lcom/waiqin365/compons/c/f;

.field private d:Landroid/content/Context;

.field private e:I

.field private f:Z

.field private g:Lcom/fiberhome/xloc/c/d;

.field private h:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/content/Context;I)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/fiberhome/xloc/c/b;->f:Z

    new-instance v0, Lcom/fiberhome/xloc/c/c;

    invoke-direct {v0, p0}, Lcom/fiberhome/xloc/c/c;-><init>(Lcom/fiberhome/xloc/c/b;)V

    iput-object v0, p0, Lcom/fiberhome/xloc/c/b;->h:Landroid/os/Handler;

    iput-object p1, p0, Lcom/fiberhome/xloc/c/b;->d:Landroid/content/Context;

    iput p2, p0, Lcom/fiberhome/xloc/c/b;->e:I

    return-void
.end method

.method static synthetic a(Lcom/fiberhome/xloc/c/b;)Lcom/waiqin365/compons/c/f;
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->c:Lcom/waiqin365/compons/c/f;

    return-object v0
.end method

.method static synthetic a(Lcom/fiberhome/xloc/c/b;Lcom/waiqin365/compons/c/f;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/fiberhome/xloc/c/b;->a(Lcom/waiqin365/compons/c/f;)V

    return-void
.end method

.method private a(Lcom/waiqin365/compons/c/f;)V
    .locals 4

    new-instance v1, Lcom/fiberhome/xloc/d/a;

    invoke-direct {v1}, Lcom/fiberhome/xloc/d/a;-><init>()V

    const-string/jumbo v0, ""

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->a:Ljava/lang/String;

    const-string/jumbo v0, "gcj"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->b:Ljava/lang/String;

    const/4 v0, 0x0

    iput v0, v1, Lcom/fiberhome/xloc/d/a;->c:I

    invoke-virtual {p1}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->i:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->h:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/compons/c/f;->f()D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->l:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/compons/c/f;->g()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->j:Ljava/lang/String;

    invoke-virtual {p1}, Lcom/waiqin365/compons/c/f;->d()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->k:Ljava/lang/String;

    const-string/jumbo v0, "1"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->n:Ljava/lang/String;

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->d:Landroid/content/Context;

    const-string/jumbo v2, "location"

    invoke-virtual {v0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/location/LocationManager;

    const-string/jumbo v2, "gps"

    invoke-virtual {v0, v2}, Landroid/location/LocationManager;->isProviderEnabled(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, "1"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->o:Ljava/lang/String;

    :goto_0
    iget v0, p0, Lcom/fiberhome/xloc/c/b;->e:I

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->q:Ljava/lang/String;

    invoke-static {}, Lcom/fiberhome/gaea/client/d/c;->a()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->r:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/compons/c/c;->a()Lcom/waiqin365/compons/c/c;

    move-result-object v0

    iget-object v2, p0, Lcom/fiberhome/xloc/c/b;->d:Landroid/content/Context;

    invoke-virtual {v0, v2}, Lcom/waiqin365/compons/c/c;->a(Landroid/content/Context;)Lcom/waiqin365/compons/c/b;

    move-result-object v0

    if-nez v0, :cond_1

    const-string/jumbo v0, ""

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->g:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->e:Ljava/lang/String;

    :goto_1
    sget v0, Lcom/waiqin365/compons/c/f;->g:I

    iget v2, p1, Lcom/waiqin365/compons/c/f;->t:I

    if-ne v0, v2, :cond_2

    const-string/jumbo v0, "0"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->p:Ljava/lang/String;

    :goto_2
    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->d:Landroid/content/Context;

    invoke-static {v0}, Lcom/fiberhome/xloc/a/b;->a(Landroid/content/Context;)Lcom/fiberhome/xloc/a/b;

    move-result-object v0

    const-string/jumbo v2, "CellID"

    invoke-virtual {v0, v1, v2}, Lcom/fiberhome/xloc/a/b;->a(Lcom/fiberhome/xloc/d/a;Ljava/lang/String;)Z

    return-void

    :cond_0
    const-string/jumbo v0, "0"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->o:Ljava/lang/String;

    goto :goto_0

    :cond_1
    iget v2, v0, Lcom/waiqin365/compons/c/b;->a:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/fiberhome/xloc/d/a;->e:Ljava/lang/String;

    iget-object v2, v0, Lcom/waiqin365/compons/c/b;->e:Ljava/lang/String;

    iput-object v2, v1, Lcom/fiberhome/xloc/d/a;->f:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, v0, Lcom/waiqin365/compons/c/b;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "$"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, v0, Lcom/waiqin365/compons/c/b;->c:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "$"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, v0, Lcom/waiqin365/compons/c/b;->d:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "$"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, v0, Lcom/waiqin365/compons/c/b;->f:F

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "$"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v0, v0, Lcom/waiqin365/compons/c/b;->g:F

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "$"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->g:Ljava/lang/String;

    goto :goto_1

    :cond_2
    sget v0, Lcom/waiqin365/compons/c/f;->k:I

    iget v2, p1, Lcom/waiqin365/compons/c/f;->t:I

    if-ne v0, v2, :cond_3

    const-string/jumbo v0, "1"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->p:Ljava/lang/String;

    goto :goto_2

    :cond_3
    sget v0, Lcom/waiqin365/compons/c/f;->i:I

    iget v2, p1, Lcom/waiqin365/compons/c/f;->t:I

    if-ne v0, v2, :cond_4

    const-string/jumbo v0, "2"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->p:Ljava/lang/String;

    goto/16 :goto_2

    :cond_4
    sget v0, Lcom/waiqin365/compons/c/f;->h:I

    iget v2, p1, Lcom/waiqin365/compons/c/f;->t:I

    if-ne v0, v2, :cond_5

    const-string/jumbo v0, "3"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->p:Ljava/lang/String;

    goto/16 :goto_2

    :cond_5
    sget v0, Lcom/waiqin365/compons/c/f;->j:I

    iget v2, p1, Lcom/waiqin365/compons/c/f;->t:I

    if-ne v0, v2, :cond_6

    const-string/jumbo v0, "4"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->p:Ljava/lang/String;

    goto/16 :goto_2

    :cond_6
    const-string/jumbo v0, "9"

    iput-object v0, v1, Lcom/fiberhome/xloc/d/a;->p:Ljava/lang/String;

    goto/16 :goto_2
.end method

.method static synthetic b(Lcom/fiberhome/xloc/c/b;)Lcom/fiberhome/xloc/c/d;
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->g:Lcom/fiberhome/xloc/c/d;

    return-object v0
.end method

.method static synthetic b(Lcom/fiberhome/xloc/c/b;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;
    .locals 0

    iput-object p1, p0, Lcom/fiberhome/xloc/c/b;->c:Lcom/waiqin365/compons/c/f;

    return-object p1
.end method

.method static synthetic c(Lcom/fiberhome/xloc/c/b;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->d:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic d(Lcom/fiberhome/xloc/c/b;)I
    .locals 1

    iget v0, p0, Lcom/fiberhome/xloc/c/b;->e:I

    return v0
.end method

.method static synthetic e(Lcom/fiberhome/xloc/c/b;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->h:Landroid/os/Handler;

    return-object v0
.end method


# virtual methods
.method public a(Lcom/fiberhome/xloc/c/d;)V
    .locals 0

    iput-object p1, p0, Lcom/fiberhome/xloc/c/b;->g:Lcom/fiberhome/xloc/c/d;

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->a:Lcom/fiberhome/xloc/c/e;

    if-nez v0, :cond_0

    new-instance v0, Lcom/fiberhome/xloc/c/e;

    invoke-direct {v0, p0}, Lcom/fiberhome/xloc/c/e;-><init>(Lcom/fiberhome/xloc/c/b;)V

    iput-object v0, p0, Lcom/fiberhome/xloc/c/b;->a:Lcom/fiberhome/xloc/c/e;

    :cond_0
    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    if-nez v0, :cond_1

    new-instance v0, Lcom/fiberhome/xloc/c/a/a;

    iget-object v1, p0, Lcom/fiberhome/xloc/c/b;->a:Lcom/fiberhome/xloc/c/e;

    invoke-direct {v0, v1}, Lcom/fiberhome/xloc/c/a/a;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    :cond_1
    sget-object v0, Lcom/fiberhome/xloc/d/c;->b:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->a()V

    :goto_0
    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    const/16 v1, 0x3a98

    invoke-virtual {v0, v1}, Lcom/fiberhome/xloc/c/a/a;->a(I)V

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    iget-object v1, p0, Lcom/fiberhome/xloc/c/b;->d:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/fiberhome/xloc/c/a/a;->a(Landroid/content/Context;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/fiberhome/xloc/c/b;->f:Z

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->c()V

    return-void

    :cond_2
    sget-object v0, Lcom/fiberhome/xloc/d/c;->c:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->b()V

    goto :goto_0

    :cond_3
    sget-object v0, Lcom/fiberhome/xloc/d/c;->d:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->a()V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->b()V

    goto :goto_0
.end method

.method public a()Z
    .locals 1

    iget-boolean v0, p0, Lcom/fiberhome/xloc/c/b;->f:Z

    return v0
.end method

.method public b()V
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->d()V

    :cond_0
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/fiberhome/xloc/c/b;->f:Z

    return-void
.end method

.method public c()V
    .locals 1

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/xloc/c/b;->b:Lcom/fiberhome/xloc/c/a/a;

    invoke-virtual {v0}, Lcom/fiberhome/xloc/c/a/a;->f()V

    :cond_0
    return-void
.end method
